package pojo;

import java.util.Date;

public class Electron {
    private Long id;
    private String model;
    private Date time;
    private Float price;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Electron{" +
                "id=" + id +
                ", model='" + model + '\'' +
                ", time=" + time +
                ", price=" + price +
                '}';
    }
}
